home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / etc / X11 / Xsession.d / 55gnome-session_gnomerc < prev    next >
Text File  |  2009-10-23  |  656b  |  21 lines

  1. # If we are running the GNOME session, source ~/.gnomerc
  2.  
  3. BASESTARTUP=`basename "$STARTUP" | cut -d\  -f1`
  4. if [ "$BASESTARTUP" = gnome-session -o \
  5.     \( "$BASESTARTUP" = x-session-manager -a \
  6.     "`readlink /etc/alternatives/x-session-manager`" = \
  7.         /usr/bin/gnome-session \) ]; then
  8.   GNOMERC=$HOME/.gnomerc
  9.   if [ -r "$GNOMERC" ]; then
  10.     . "$GNOMERC"
  11.   fi
  12.   # We prepend /usr/share/gnome since its defaults.list actually points 
  13.   # to /etc so it is configurable.
  14.   if [ -z "$XDG_DATA_DIRS" ]; then
  15.     XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
  16.   else
  17.     XDG_DATA_DIRS=/usr/share/gnome:"$XDG_DATA_DIRS"
  18.   fi
  19.   export XDG_DATA_DIRS
  20. fi
  21.